﻿using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Geometry;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cad.Infrastructure
{
    public class ArcFactory
    {
        public static Arc Create()
        { 
            return new Arc();
        }
        public static Arc Create(Point3d center, double r, double startAngle, double endAngle)
        {
           return new Arc( center,r,startAngle,endAngle);
        }



       
        //arc1.Center = new Point3d(0,0,0);
        //arc1.Radius = 100;
        //    arc1.StartAngle =-Math.PI/4;
        //    arc1.EndAngle = Math.PI / 4;

        //    var arc2 = new Arc(new Point3d(50, 50, 0), 20, 45, 90);
        //var arc3 = new Arc(new Point3d(100, 100, 0), new Vector3d(0, 0, 1), 20, Math.PI / 4, Math.PI / 2);



    }
}
